import uvicorn
from fastapi import FastAPI

from ChildRouterHome import home
from ChildRouterShop import shop
app = FastAPI()

app.include_router(shop,prefix="/shop",tags=["Shop模块"])
app.include_router(home,prefix="/home",tags=["Home模块"])

if __name__ == "__main__":
    uvicorn.run("07父路由Index:app",port=8080,reload=True)